package cn.qidisoft.edu.hzjt.service.xb;

import java.util.List;
import java.util.Map;

import cn.qidisoft.core.common.pagination.Page;
import cn.qidisoft.core.common.pagination.PaginationBean;
import cn.qidisoft.edu.hzjt.model.xb.PartyIncorruptEn;
import cn.qidisoft.edu.hzjt.model.xb.PartyIncorruptRangerEn;

public interface IPartyIncorruptService {

	List<PartyIncorruptEn> queryList(PartyIncorruptEn model);

	PaginationBean<PartyIncorruptEn> queryPageList(PartyIncorruptEn model, Page page);

	PartyIncorruptEn queryByPK(PartyIncorruptEn model);

	int insert(PartyIncorruptEn model);

	int update(PartyIncorruptEn model);

	int delete(PartyIncorruptEn model);

	List<Map<String, Object>>  queryAllYearList();




	PaginationBean<PartyIncorruptEn> queryPageList2(PartyIncorruptEn PartyIncorruptEn, Page page);


	List<PartyIncorruptEn> exportList(PartyIncorruptEn model,
			Page page);






	List<PartyIncorruptRangerEn> plist(int lzId);

	void batchInserts(List<PartyIncorruptRangerEn> records);

	int deleteByParentId(int lzId);
}
